﻿Imports System.Xml.Serialization

Namespace Pop.Api.Domain
    ''' <summary>
    ''' 商品的库存
    ''' </summary>
    <Serializable()>
    Public Class Stock
        Inherits PopObject

        ''' <summary>
        ''' 商品的库存id
        ''' </summary>
        <XmlElement("stockId")>
        Property StockId As Long

        ''' <summary>
        ''' 商品的商家自定义库存id
        ''' </summary>
        <XmlElement("stockLocalCode")>
        Property StockLocalCode As String

        ''' <summary>
        ''' 商品的库存属性串
        ''' </summary>
        <XmlElement("stockAttr")>
        Property StockAttr As String

        ''' <summary>
        ''' 商品的库存备注
        ''' </summary>
        <XmlElement("stockDesc")>
        Property StockDesc As String

        ''' <summary>
        ''' 商品的该库存对应的销售数量
        ''' </summary>
        <XmlElement("soldCount")>
        Property SoldCount As Long

        ''' <summary>
        ''' 商品的库存的价格
        ''' </summary>
        <XmlElement("stockPrice")>
        Property StockPrice As Long

        ''' <summary>
        ''' 商品的库存数量
        ''' </summary>
        <XmlElement("stockCount")>
        Property StockCount As Long

        ''' <summary>
        ''' 商品的库存创建时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("createTime")>
        Property CreateTime As String

        ''' <summary>
        ''' 商品的库存最后修改时间 时间格式：yyyy-MM-dd HH:mm:ss
        ''' </summary>
        <XmlElement("lastModifyTime")>
        Property LastModifyTime As String

    End Class
End Namespace